package com.ruoyi.common.utils.wx;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/****
 * 微信的配置类
 */
@Component
@ConfigurationProperties(prefix = "wxpay")
public class WXPayConfig {

    // #微信 大区会长、厂家 appkey, secret
    private String appIdApplet;

    private String appSecretApplet;

    // #微信 散户，店铺，市县管理商 appkey, secret
    private String appIdAppletUser;

    private String appSecretAppletUser;

    //微信公众号
    private String appIdWx;

    private String appSecretWx;


    private String partner;

    private String partnerKey;

    public String getAppIdApplet() {
        return appIdApplet;
    }

    public void setAppIdApplet(String appIdApplet) {
        this.appIdApplet = appIdApplet;
    }

    public String getAppSecretApplet() {
        return appSecretApplet;
    }

    public void setAppSecretApplet(String appSecretApplet) {
        this.appSecretApplet = appSecretApplet;
    }

    public String getAppIdAppletUser() {
        return appIdAppletUser;
    }

    public void setAppIdAppletUser(String appIdAppletUser) {
        this.appIdAppletUser = appIdAppletUser;
    }

    public String getAppSecretAppletUser() {
        return appSecretAppletUser;
    }

    public void setAppSecretAppletUser(String appSecretAppletUser) {
        this.appSecretAppletUser = appSecretAppletUser;
    }

    public String getAppIdWx() {
        return appIdWx;
    }

    public void setAppIdWx(String appIdWx) {
        this.appIdWx = appIdWx;
    }

    public String getAppSecretWx() {
        return appSecretWx;
    }

    public void setAppSecretWx(String appSecretWx) {
        this.appSecretWx = appSecretWx;
    }

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public String getPartnerKey() {
        return partnerKey;
    }

    public void setPartnerKey(String partnerKey) {
        this.partnerKey = partnerKey;
    }
}
